package org.social.module;

import java.util.ArrayList;
import java.util.List;

import com.sojoys.artifact.plugin.id.SnowflakePlugin;

/**
 * @author : DengYing
 * @CreateDate : 2017年12月6日 下午3:39:29
 * @Description ：Please describe this document
 */
public class SocialManager {
	private SocialManager() {
	}

	private static SocialManager ME = new SocialManager();

	public static SocialManager me() {
		return ME;
	}
	
	public List<Long> getIds() {
		List<Long> ids = new ArrayList<Long>(1000);
		for (int i = 0; i < 1000; i++) {
			long id = SnowflakePlugin.getSnowflake().nextId();
			ids.add(id);
		}
		return ids;
	}
}
